﻿Imports System.Windows.Forms
Imports System.Drawing.Design
Imports System.Drawing.Drawing2D
Imports System.ComponentModel.Design
Imports System.ComponentModel
Imports System.Windows.Forms.Design
Imports System.Drawing
Imports System.Text.RegularExpressions

<ToolboxItem(True), ToolboxBitmap(GetType(libLabel), "TRTextBox.bmp")> _
Public Class LibTextBox
    Inherits TextBox

    Private _TabToEnter As Boolean = True

    Private _BackText As String
    Private _ShowBackText As Boolean
    Private _graphics As Graphics = Me.CreateGraphics
    Private _SecondPen As Pen = New Pen(Color.Silver)

    Property TabToEnter() As Boolean
        Get
            Return _TabToEnter
        End Get
        Set(ByVal value As Boolean)
            _TabToEnter = value
        End Set
    End Property

    Public Property BackText() As String
        Get
            Return Me._backText
        End Get
        Set(ByVal value As String)
            Me._backText = value
        End Set
    End Property

End Class
